home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / CustomOverrideListener.java < prev    next >
Text File  |  1998-08-06  |  990b  |  32 lines

  1. package com.symantec.itools.vcafe.beans;
  2.  
  3. import java.util.EventListener;
  4.  
  5. /**
  6.  * A "CustomOverride" event gets fired when the user customizer implements 
  7.  * its own OK button and possibly cancel button.
  8.  * 
  9.  * If the customizer does implement the cancel button, it is the customizer's 
  10.  * responsiblity to restore the bean to it's original state.
  11.  */
  12.  
  13. public interface CustomOverrideListener extends java.util.EventListener {
  14.  
  15.     /**
  16.      * This method gets called when the customizer wishes to imform the container
  17.      * that the user pressed a OK button
  18.      * @param evt A CustomOverrideEvent object describing the event source 
  19.      */
  20.  
  21.     void okPressed(CustomOverrideEvent evt);
  22.  
  23.     /**
  24.      * This method gets called when the customizer wishes to imform the container
  25.      * that the user pressed a OK button
  26.      * @param evt A CustomOverrideEvent object describing the event source 
  27.      */
  28.  
  29.     void cancelPressed(CustomOverrideEvent evt);
  30.  
  31. }
  32.